package cn.wolfcode.car.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 流程定义
 */
@Setter
@Getter
@TableName("bus_bpmn_info")
public class BpmnInfo {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField(value = "bpmn_name")
    private String bpmnName;            //流程(图)名称
    @TableField(value = "bpmn_type")
    private String bpmnType;             //流程(图)类型
    @TableField(value = "deployment_id")
    private String deploymentId;         //流程部署id
    @TableField(value = "act_process_id")
    private String actProcessId;         //activity流程定义生成的主键
    @TableField(value = "act_process_key")
    private String actProcessKey;        //activity流程定义生成的key
    @TableField(value = "deploy_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date deployTime;             //部署时间
    @TableField(value = "info")
    private String info;                 //描述信息

}